package com.hd.trans.network.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import androidx.annotation.NonNull;

import static java.lang.annotation.RetentionPolicy.RUNTIME;

/**
 * Author:  yang
 * Date:  2020-01-19 00:00
 * Desc:   获取方法注解
 */
@Target(ElementType.METHOD)
@Retention(RUNTIME)
public @interface Get {

    @NonNull String value() ;

    String defaultString() default "";
    int defaultInt() default 0;
    long defaultLong() default 0L;
    float defaultFloat() default 0F;
    boolean defaultBoolean() default false;

}
